package com.p2p.funds.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.p2p.base.model.P2PRecharge;
import com.p2p.funds.dao.P2PRechargeDao;
import com.p2p.funds.service.P2PRechargeService;

@Service("p2PRechargeService")
public class P2PRechargeServiceImpl implements P2PRechargeService {

	@Resource
	private P2PRechargeDao p2PRechargeDao;

	public void saveP2PRecharge(P2PRecharge p2pRecharge) {
		p2PRechargeDao.saveP2PRecharge(p2pRecharge);
	}

	public P2PRecharge findP2PRechargeById(Long id) {
		return p2PRechargeDao.findP2PRechargeById(id);
	}

	public void updateP2PRecharge(P2PRecharge p2pRecharge) {
		p2PRechargeDao.updateP2PRecharge(p2pRecharge);
	}

}
